package com.exchange.entity.role;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 角色菜单关联表(SysRoleMenu)实体类
 *
 * @author makejava
 * @since 2020-10-11 15:22:29
 */
@Component
@TableName("sys_role_menu")
public class SysRoleMenu implements Serializable {
    private static final long serialVersionUID = 715959036813442766L;
    /**
    * 角色菜单关联ID
    */
    @TableId
    private Long roleMenuId;
    /**
    * 角色编码
    */
    private String roleCode;
    /**
    * 菜单编码
    */
    private String menuCode;
    /**
    * 角色菜单关联状态（0：无效，1：有效）
    */
    private Integer roleMenuStatus;


    public Long getRoleMenuId() {
        return roleMenuId;
    }

    public void setRoleMenuId(Long roleMenuId) {
        this.roleMenuId = roleMenuId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public Integer getRoleMenuStatus() {
        return roleMenuStatus;
    }

    public void setRoleMenuStatus(Integer roleMenuStatus) {
        this.roleMenuStatus = roleMenuStatus;
    }

}